package com.zzh.rabbit;

import android.app.Application;

import com.zzh.rabbit.demo.base.vm.BaseViewModel;

import androidx.lifecycle.LifecycleOwner;

import static com.zzh.rabbit.HLog.l_life;

/**
 * Created by ZZH on 2022/6/2.
 *
 * @Date: 2022/6/2
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description:
 */
public class ThreeViewModel extends BaseViewModel {
    public ThreeViewModel(Application application) {
        super(application);
    }

    @Override
    public void onCreate(LifecycleOwner owner) {
        super.onCreate(owner);
        l_life("-----ThreeViewModel-onCreate");
    }

    @Override
    public void onStart(LifecycleOwner owner) {
        super.onStart(owner);
        l_life("-----ThreeViewModel-onStart");
    }

    @Override
    public void onResume(LifecycleOwner owner) {
        super.onResume(owner);
        l_life("-----ThreeViewModel-onResume");
    }

    @Override
    public void onPause(LifecycleOwner owner) {
        super.onPause(owner);
        l_life("-----ThreeViewModel-onPause");
    }

    @Override
    public void onStop(LifecycleOwner owner) {
        super.onStop(owner);
        l_life("-----ThreeViewModel-onStop");
    }

    @Override
    public void onDestroy(LifecycleOwner owner) {
        super.onDestroy(owner);
        l_life("-----ThreeViewModel-onDestroy");
    }

    @Override
    protected void onCleared() {
        super.onCleared();
        l_life("-----ThreeViewModel-onCleared");
    }

}
